package com.example.lianxi222;

import android.app.Application;

import com.example.mvvm_base.mvvm.db.AppDateBaseUtils;
import com.hyphenate.chat.EMClient;
import com.hyphenate.chat.EMOptions;
import com.umeng.commonsdk.UMConfigure;
import com.umeng.socialize.PlatformConfig;

public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        AppDateBaseUtils.getInstance().init(this);
        //初始化友盟
        UMConfigure.init(this, "65e454b9a7208a5af1b3f474", "umeng", UMConfigure.DEVICE_TYPE_PHONE, "");
        PlatformConfig.setQQZone("7240100238501610496","A5A9A43A9AE58340C5B4432BCB67E749");
    //环信
        EMOptions options = new EMOptions();
        options.setAppKey("1118240109154198#hiodwjioadw");
        EMClient.getInstance().init(this, options);
    }
}
